import apibase from "@/api/apiBase";
import axios from "axios";

//个大查询列表
export const $backendSingleList = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/backendSingle/list',
    data: params,
    instance,
  });
}

//个单修改列表
export const $getmodifyList = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/backendSingle/modifyList',
    data:params,
    instance,
  });
}

//个单修改历史记录
export const $getOrderModifyHistory = (params:any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.post({
    url: '/female/orderModify/modifyHistory',
    data:params,
    instance,
  });
}




// 上传文件
export const $importModifyData = (formData: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.post({
    url: '/female/backendSingle/importModifyData',
    data:{},
    formData,
    instance,
  });
}

// 个单回溯
export const $playRecord = (params: any) => {
  const $server = new apibase();
  const instance = axios.create();
  return $server.get({
    url: '/female/backendSingle/playRecord',
    data:params,
    instance,
  });
}
